<div ng-controller="ClassdetailCtrl" ng-init="addAction()" class="sui-form form-horizontal">
    <ul class="sui-breadcrumb">
        <li><a href="#/classdetail/list?class_id={{class_id}}&class_category_id={{class_category_id}}">课程表详情</a></li>
        <li class="active">
            {{!class_id?"创建":"edit"|translate}}
        </li>
    </ul>
    <form name="classForm" novalidate>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'上课时间'| translate}}：</label>
            <div class="controls">
                <div class="zTreeDemoBackground">
                    <input datetimepicker ng-model="classdetail.class_tiem">
                </div>
                <div ng-show="!classdetail.class_tiem" class="sui-msg msg-error msg-clear help-block error">
                    <div class="msg-con">{{'required'| translate}}</div>
                    <s class="msg-icon"></s>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'选择用户'| translate}}：</label>
            <div class="controls">
                <div class="zTreeDemoBackground">
                    <wxinfo ng-model="classdetail.member_id" stye="1"></wxinfo>
                    <br/>
                    <chose-member member-check="memberdata(memberInfo)" title="选择用户" app="1"></chose-member>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'上课描述'| translate}}：</label>
            <div class="controls">
                <div class="zTreeDemoBackground">
                    <ueditor ng-model="classdetail.desc" uid="{{classdescription}}" style="width:694px"></ueditor>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'状态'| translate}}：</label>
            <div class="controls">
                <div class="zTreeDemoBackground">
                    <class-status ng-model="classdetail.status" dft="1"></class-status>
                    <!-- <class-status ng-model="classdetail.status" stype="1" ng-show="classdetail.status==2"></class-status> -->
                </div>
                <div ng-show="!classdetail.status" class="sui-msg msg-error msg-clear help-block error">
                    <div class="msg-con">{{'required'| translate}}</div>
                    <s class="msg-icon"></s>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="submit" id="submit" class="sui-btn btn-primary" ng-disabled="!(classdetail.class_tiem && classdetail.status && classdetail.member_id) " ng-click="classdetailAdd($event)">
                    <span>{{'save' | translate}}</span>
                </button>
            </div>
        </div>
    </form>
</div>